#rbp_comparison.py
#用途：验证两种检测方法的一致性，用于科研数据验证
elisa_data = [0.0,0.05,0.10,0.15,0.20]
pt_bsi_data = [0.06,0.09,0.13,0.18,0.20]
differences = []
for e,p in zip(elisa_data,pt_bsi_data):
    diff = abs(e-p)
    differences.append(diff)
avg_diff= sum(differences)/len(differences)
print(f"两组数据各组差值:{differences}")
print(f"两组数据平均差值：{avg_diff:.2f}")